package main

// 指针
import (
	"fmt"
)

func main() {
	i, j := 42, 2701
	p := &i         // point to i
	fmt.Println(*p) // read i through the pointer
	*p = 21
	fmt.Println(i, *p)    // see the new value of i
	p = &j                // point to j
	*p = *p / 37          // devide j through the pointer
	fmt.Println(j, p, *p) // see the new value of j
}
